<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-coupon_ids" class="control-label col-xs-12 col-sm-2">优惠券:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-coupon_ids" data-rule="required" class="form-control selectpicker" multiple name="row[coupon_ids][]">
                {foreach $coupon_list as $k=>$v}
                <option value="{$v.id}">{$v.name}</option>
                {/foreach}
            </select>
        </div>
    </div>

    <input type="hidden" name="row[user_id]" value="{$id}">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">确认</button>
        </div>
    </div>
</form>